package clock._11.cheremisinova;

import java.awt.BorderLayout;
import javax.swing.JButton;
import javax.swing.JPanel;

public class ClockTask {

    public static void main(String[] args) {
        Window w = new Window();
        BorderLayout bl = new BorderLayout();
        w.setLayout(bl);

        JPanel buttons = new JPanel();
        JButton b1 = new JButton("button №1");
        JButton b2 = new JButton("button №2");
        buttons.add(b1);
        buttons.add(b2);

        Draw clock = new Draw();

        w.add(buttons, BorderLayout.NORTH);

        w.add(clock, BorderLayout.CENTER);

        w.setVisible(true);
    }
}
